package com.topscomm.mis.cbb.file.compare.word.handler;

import com.topscomm.mis.cbb.file.compare.cj.pojo.CjCompareJobResultEntity;
import com.topscomm.mis.cbb.file.compare.cj.pojo.dto.CompareItemsDto;
import org.apache.poi.xwpf.usermodel.XWPFParagraph;
import org.apache.poi.xwpf.usermodel.XWPFTable;

import java.util.List;

/**
 * @description:
 * @author: zhanglongfei
 * @date: 2023/2/21 9:22
 */
public interface ITableCompareHandler {

    /**
     * @param table1:
     * @param table2:
     * @param compareItemsDto: 2023-06-14 wxm添加参数：支持对比项自定义
     * @description: 比对两个表格差异，返回差异明细
     * @return: java.util.List<com.topscomm.mis.cbb.file.compare.cj.pojo.CjCompareJobResultEntity>
     * @author: zhanglongfei
     * @date: 2023/2/21 13:46
     * @modify:
     */
    List<CjCompareJobResultEntity> doCompare(XWPFTable table1, XWPFTable table2,
        CompareItemsDto compareItemsDto);
}
